package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户信息参数
 * @author LikeAdmin
 */
@Data
@ApiModel("用户信息更新参数")
public class UserUpdateRoleValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @NotNull(message = "isLawyer参数缺失")
    @ApiModelProperty(value = "用户身份，0=客户，1=律师，2=审核员 3=超管")
    private Long isLawyer;

}
